class @RatingModel extends Backbone.Model
    defaults:       
        BookId: 0
        Rating: 0

    url: ->
        url = SiteMap.Rating.Rate + "?bookId=" + @attributes.BookId + "&ratingValue=" + @attributes.RatingValue

    parse: (response) ->
        {
            Rating: response.Rating
        }

